<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>    
                <c:forEach items="${proCateList}" var="cate1" >
               		<c:if test="${cate1.parentId == 0}">
                	<div class="subnav">
                	    <h3>${cate1.name}</h3>
                        <ul class="catbox">
                	    <c:set var="index" value="0" />
                	    <li class="cathhook">
						<c:forEach items="${proCateList}" var="cate2">
                	      <c:if test="${cate2.parentId eq cate1.id}"> 
                	         <c:set var="index" value="${index+1}" />  	    	
	                           <a class="c_3" href="${ctx}/searchresult?qtype=2&catelogid=${cate2.id}">${cate2.name}</a>
	                       	   <c:if test="${index mod 3==0 }">    
	                            </li> 
	                            <li class="cathhook">
	                           </c:if>
                	       </c:if>
                	     </c:forEach>
                	    </ul>
               		</div>
					</c:if>
                </c:forEach>